home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / SecalDemo / Inc / graphics / modeid.inc < prev    next >
Text File  |  1998-06-24  |  10KB  |  278 lines

  1. include "inc/graphics/displayinfo.inc";
  2.  
  3. def INVALID_ID = ~0;
  4.  
  5. def MONITOR_ID_MASK = $ffff1000;
  6.  
  7. def DEFAULT_MONITOR_ID = $00000000;
  8. def NTSC_MONITOR_ID = $00011000;
  9. def PAL_MONITOR_ID = $00021000;
  10.  
  11. def LORES_KEY = $00000000;
  12. def HIRES_KEY = $00008000;
  13. def SUPER_KEY = $00008020;
  14. def HAM_KEY = $00000800;
  15. def LORESLACE_KEY = $00000004;
  16. def HIRESLACE_KEY = $00008004;
  17. def SUPERLACE_KEY = $00008024;
  18. def HAMLACE_KEY = $00000804;
  19. def LORESDPF_KEY = $00000400;
  20. def HIRESDPF_KEY = $00008400;
  21. def SUPERDPF_KEY = $00008420;
  22. def LORESLACEDPF_KEY = $00000404;
  23. def HIRESLACEDPF_KEY = $00008404;
  24. def SUPERLACEDPF_KEY = $00008424;
  25. def LORESDPF2_KEY = $00000440;
  26. def HIRESDPF2_KEY = $00008440;
  27. def SUPERDPF2_KEY = $00008460;
  28. def LORESLACEDPF2_KEY = $00000444;
  29. def HIRESLACEDPF2_KEY = $00008444;
  30. def SUPERLACEDPF2_KEY = $00008464;
  31. def EXTRAHALFBRITE_KEY = $00000080;
  32. def EXTRAHALFBRITELACE_KEY = $00000084;
  33.  
  34. def HIRESHAM_KEY = $00008800;
  35. def SUPERHAM_KEY = $00008820;
  36. def HIRESEHB_KEY = $00008080;
  37. def SUPEREHB_KEY = $000080a0;
  38. def HIRESHAMLACE_KEY = $00008804;
  39. def SUPERHAMLACE_KEY = $00008824;
  40. def HIRESEHBLACE_KEY = $00008084;
  41. def SUPEREHBLACE_KEY = $000080a4;
  42.  
  43. def LORESSDBL_KEY = $00000008;
  44. def LORESHAMSDBL_KEY = $00000808;
  45. def LORESEHBSDBL_KEY = $00000088;
  46. def HIRESHAMSDBL_KEY = $00008808;
  47.  
  48. def VGA_MONITOR_ID = $00031000;
  49.  
  50. def VGAEXTRALORES_KEY = $00031004;
  51. def VGALORES_KEY = $00039004;
  52. def VGAPRODUCT_KEY = $00039024;
  53. def VGAHAM_KEY = $00031804;
  54. def VGAEXTRALORESLACE_KEY = $00031005;
  55. def VGALORESLACE_KEY = $00039005;
  56. def VGAPRODUCTLACE_KEY = $00039025;
  57. def VGAHAMLACE_KEY = $00031805;
  58. def VGAEXTRALORESDPF_KEY = $00031404;
  59. def VGALORESDPF_KEY = $00039404;
  60. def VGAPRODUCTDPF_KEY = $00039424;
  61. def VGAEXTRALORESLACEDPF_KEY = $00031405;
  62. def VGALORESLACEDPF_KEY = $00039405;
  63. def VGAPRODUCTLACEDPF_KEY = $00039425;
  64. def VGAEXTRALORESDPF2_KEY = $00031444;
  65. def VGALORESDPF2_KEY = $00039444;
  66. def VGAPRODUCTDPF2_KEY = $00039464;
  67. def VGAEXTRALORESLACEDPF2_KEY = $00031445;
  68. def VGALORESLACEDPF2_KEY = $00039445;
  69. def VGAPRODUCTLACEDPF2_KEY = $00039465;
  70. def VGAEXTRAHALFBRITE_KEY = $00031084;
  71. def VGAEXTRAHALFBRITELACE_KEY = $00031085;
  72.  
  73. def VGAPRODUCTHAM_KEY = $00039824;
  74. def VGALORESHAM_KEY = $00039804;
  75. def VGAEXTRALORESHAM_KEY = VGAHAM_KEY;
  76. def VGAPRODUCTHAMLACE_KEY = $00039825;
  77. def VGALORESHAMLACE_KEY = $00039805;
  78. def VGAEXTRALORESHAMLACE_KEY = VGAHAMLACE_KEY;
  79. def VGAEXTRALORESEHB_KEY = VGAEXTRAHALFBRITE_KEY;
  80. def VGAEXTRALORESEHBLACE_KEY = VGAEXTRAHALFBRITELACE_KEY;
  81. def VGALORESEHB_KEY = $00039084;
  82. def VGALORESEHBLACE_KEY = $00039085;
  83. def VGAEHB_KEY = $000390a4;
  84. def VGAEHBLACE_KEY = $000390a5;
  85.  
  86. def VGAEXTRALORESDBL_KEY = $00031000;
  87. def VGALORESDBL_KEY = $00039000;
  88. def VGAPRODUCTDBL_KEY = $00039020;
  89. def VGAEXTRALORESHAMDBL_KEY = $00031800;
  90. def VGALORESHAMDBL_KEY = $00039800;
  91. def VGAPRODUCTHAMDBL_KEY = $00039820;
  92. def VGAEXTRALORESEHBDBL_KEY = $00031080;
  93. def VGALORESEHBDBL_KEY = $00039080;
  94. def VGAPRODUCTEHBDBL_KEY = $000390a0;
  95.  
  96. def A2024_MONITOR_ID = $00041000;
  97.  
  98. def A2024TENHERTZ_KEY = $00041000;
  99. def A2024FIFTEENHERTZ_KEY = $00049000;
  100.  
  101. def PROTO_MONITOR_ID = $00051000;
  102.  
  103. def EURO72_MONITOR_ID = $00061000;
  104.  
  105. def EURO72EXTRALORES_KEY = $00061004;
  106. def EURO72LORES_KEY = $00069004;
  107. def EURO72PRODUCT_KEY = $00069024;
  108. def EURO72HAM_KEY = $00061804;
  109. def EURO72EXTRALORESLACE_KEY = $00061005;
  110. def EURO72LORESLACE_KEY = $00069005;
  111. def EURO72PRODUCTLACE_KEY = $00069025;
  112. def EURO72HAMLACE_KEY = $00061805;
  113. def EURO72EXTRALORESDPF_KEY = $00061404;
  114. def EURO72LORESDPF_KEY = $00069404;
  115. def EURO72PRODUCTDPF_KEY = $00069424;
  116. def EURO72EXTRALORESLACEDPF_KEY = $00061405;
  117. def EURO72LORESLACEDPF_KEY = $00069405;
  118. def EURO72PRODUCTLACEDPF_KEY = $00069425;
  119. def EURO72EXTRALORESDPF2_KEY = $00061444;
  120. def EURO72LORESDPF2_KEY = $00069444;
  121. def EURO72PRODUCTDPF2_KEY = $00069464;
  122. def EURO72EXTRALORESLACEDPF2_KEY = $00061445;
  123. def EURO72LORESLACEDPF2_KEY = $00069445;
  124. def EURO72PRODUCTLACEDPF2_KEY = $00069465;
  125. def EURO72EXTRAHALFBRITE_KEY = $00061084;
  126. def EURO72EXTRAHALFBRITELACE_KEY = $00061085;
  127.  
  128. def EURO72PRODUCTHAM_KEY = $00069824;
  129. def EURO72PRODUCTHAMLACE_KEY = $00069825;
  130. def EURO72LORESHAM_KEY = $00069804;
  131. def EURO72LORESHAMLACE_KEY = $00069805;
  132. def EURO72EXTRALORESHAM_KEY = EURO72HAM_KEY;
  133. def EURO72EXTRALORESHAMLACE_KEY = EURO72HAMLACE_KEY;
  134. def EURO72EXTRALORESEHB_KEY = EURO72EXTRAHALFBRITE_KEY;
  135. def EURO72EXTRALORESEHBLACE_KEY = EURO72EXTRAHALFBRITELACE_KEY;
  136. def EURO72LORESEHB_KEY = $00069084;
  137. def EURO72LORESEHBLACE_KEY = $00069085;
  138. def EURO72EHB_KEY = $000690a4;
  139. def EURO72EHBLACE_KEY = $000690a5;
  140.  
  141. def EURO72EXTRALORESDBL_KEY = $00061000;
  142. def EURO72LORESDBL_KEY = $00069000;
  143. def EURO72PRODUCTDBL_KEY = $00069020;
  144. def EURO72EXTRALORESHAMDBL_KEY = $00061800;
  145. def EURO72LORESHAMDBL_KEY = $00069800;
  146. def EURO72PRODUCTHAMDBL_KEY = $00069820;
  147. def EURO72EXTRALORESEHBDBL_KEY = $00061080;
  148. def EURO72LORESEHBDBL_KEY = $00069080;
  149. def EURO72PRODUCTEHBDBL_KEY = $000690a0;
  150.  
  151. def EURO36_MONITOR_ID = $00071000;
  152.  
  153. def SUPER72_MONITOR_ID = $00081000;
  154.  
  155. def SUPER72LORESDBL_KEY = $00081008;
  156. def SUPER72HIRESDBL_KEY = $00089008;
  157. def SUPER72SUPERDBL_KEY = $00089028;
  158. def SUPER72LORESHAMDBL_KEY = $00081808;
  159. def SUPER72HIRESHAMDBL_KEY = $00089808;
  160. def SUPER72SUPERHAMDBL_KEY = $00089828;
  161. def SUPER72LORESEHBDBL_KEY = $00081088;
  162. def SUPER72HIRESEHBDBL_KEY = $00089088;
  163. def SUPER72SUPEREHBDBL_KEY = $000890a8;
  164.  
  165. def DBLNTSC_MONITOR_ID = $00091000;
  166.  
  167. def DBLNTSCLORES_KEY = $00091000;
  168. def DBLNTSCLORESFF_KEY = $00091004;
  169. def DBLNTSCLORESHAM_KEY = $00091800;
  170. def DBLNTSCLORESHAMFF_KEY = $00091804;
  171. def DBLNTSCLORESEHB_KEY = $00091080;
  172. def DBLNTSCLORESEHBFF_KEY = $00091084;
  173. def DBLNTSCLORESLACE_KEY = $00091005;
  174. def DBLNTSCLORESHAMLACE_KEY = $00091805;
  175. def DBLNTSCLORESEHBLACE_KEY = $00091085;
  176. def DBLNTSCLORESDPF_KEY = $00091400;
  177. def DBLNTSCLORESDPFFF_KEY = $00091404;
  178. def DBLNTSCLORESDPFLACE_KEY = $00091405;
  179. def DBLNTSCLORESDPF2_KEY = $00091440;
  180. def DBLNTSCLORESDPF2FF_KEY = $00091444;
  181. def DBLNTSCLORESDPF2LACE_KEY = $00091445;
  182. def DBLNTSCHIRES_KEY = $00099000;
  183. def DBLNTSCHIRESFF_KEY = $00099004;
  184. def DBLNTSCHIRESHAM_KEY = $00099800;
  185. def DBLNTSCHIRESHAMFF_KEY = $00099804;
  186. def DBLNTSCHIRESLACE_KEY = $00099005;
  187. def DBLNTSCHIRESHAMLACE_KEY = $00099805;
  188. def DBLNTSCHIRESEHB_KEY = $00099080;
  189. def DBLNTSCHIRESEHBFF_KEY = $00099084;
  190. def DBLNTSCHIRESEHBLACE_KEY = $00099085;
  191. def DBLNTSCHIRESDPF_KEY = $00099400;
  192. def DBLNTSCHIRESDPFFF_KEY = $00099404;
  193. def DBLNTSCHIRESDPFLACE_KEY = $00099405;
  194. def DBLNTSCHIRESDPF2_KEY = $00099440;
  195. def DBLNTSCHIRESDPF2FF_KEY = $00099444;
  196. def DBLNTSCHIRESDPF2LACE_KEY = $00099445;
  197. def DBLNTSCEXTRALORES_KEY = $00091200;
  198. def DBLNTSCEXTRALORESHAM_KEY = $00091a00;
  199. def DBLNTSCEXTRALORESEHB_KEY = $00091280;
  200. def DBLNTSCEXTRALORESDPF_KEY = $00091600;
  201. def DBLNTSCEXTRALORESDPF2_KEY = $00091640;
  202. def DBLNTSCEXTRALORESFF_KEY = $00091204;
  203. def DBLNTSCEXTRALORESHAMFF_KEY = $00091a04;
  204. def DBLNTSCEXTRALORESEHBFF_KEY = $00091284;
  205. def DBLNTSCEXTRALORESDPFFF_KEY = $00091604;
  206. def DBLNTSCEXTRALORESDPF2FF_KEY = $00091644;
  207. def DBLNTSCEXTRALORESLACE_KEY = $00091205;
  208. def DBLNTSCEXTRALORESHAMLACE_KEY = $00091a05;
  209. def DBLNTSCEXTRALORESEHBLACE_KEY = $00091285;
  210. def DBLNTSCEXTRALORESDPFLACE_KEY = $00091605;
  211. def DBLNTSCEXTRALORESDPF2LACE_KEY = $00091645;
  212.  
  213. def DBLPAL_MONITOR_ID = $000a1000;
  214.  
  215. def DBLPALLORES_KEY = $000a1000;
  216. def DBLPALLORESFF_KEY = $000a1004;
  217. def DBLPALLORESHAM_KEY = $000a1800;
  218. def DBLPALLORESHAMFF_KEY = $000a1804;
  219. def DBLPALLORESEHB_KEY = $000a1080;
  220. def DBLPALLORESEHBFF_KEY = $000a1084;
  221. def DBLPALLORESLACE_KEY = $000a1005;
  222. def DBLPALLORESHAMLACE_KEY = $000a1805;
  223. def DBLPALLORESEHBLACE_KEY = $000a1085;
  224. def DBLPALLORESDPF_KEY = $000a1400;
  225. def DBLPALLORESDPFFF_KEY = $000a1404;
  226. def DBLPALLORESDPFLACE_KEY = $000a1405;
  227. def DBLPALLORESDPF2_KEY = $000a1440;
  228. def DBLPALLORESDPF2FF_KEY = $000a1444;
  229. def DBLPALLORESDPF2LACE_KEY = $000a1445;
  230. def DBLPALHIRES_KEY = $000a9000;
  231. def DBLPALHIRESFF_KEY = $000a9004;
  232. def DBLPALHIRESHAM_KEY = $000a9800;
  233. def DBLPALHIRESHAMFF_KEY = $000a9804;
  234. def DBLPALHIRESLACE_KEY = $000a9005;
  235. def DBLPALHIRESHAMLACE_KEY = $000a9805;
  236. def DBLPALHIRESEHB_KEY = $000a9080;
  237. def DBLPALHIRESEHBFF_KEY = $000a9084;
  238. def DBLPALHIRESEHBLACE_KEY = $000a9085;
  239. def DBLPALHIRESDPF_KEY = $000a9400;
  240. def DBLPALHIRESDPFFF_KEY = $000a9404;
  241. def DBLPALHIRESDPFLACE_KEY = $000a9405;
  242. def DBLPALHIRESDPF2_KEY = $000a9440;
  243. def DBLPALHIRESDPF2FF_KEY = $000a9444;
  244. def DBLPALHIRESDPF2LACE_KEY = $000a9445;
  245. def DBLPALEXTRALORES_KEY = $000a1200;
  246. def DBLPALEXTRALORESHAM_KEY = $000a1a00;
  247. def DBLPALEXTRALORESEHB_KEY = $000a1280;
  248. def DBLPALEXTRALORESDPF_KEY = $000a1600;
  249. def DBLPALEXTRALORESDPF2_KEY = $000a1640;
  250. def DBLPALEXTRALORESFF_KEY = $000a1204;
  251. def DBLPALEXTRALORESHAMFF_KEY = $000a1a04;
  252. def DBLPALEXTRALORESEHBFF_KEY = $000a1284;
  253. def DBLPALEXTRALORESDPFFF_KEY = $000a1604;
  254. def DBLPALEXTRALORESDPF2FF_KEY = $000a1644;
  255. def DBLPALEXTRALORESLACE_KEY = $000a1205;
  256. def DBLPALEXTRALORESHAMLACE_KEY = $000a1a05;
  257. def DBLPALEXTRALORESEHBLACE_KEY = $000a1285;
  258. def DBLPALEXTRALORESDPFLACE_KEY = $000a1605;
  259. def DBLPALEXTRALORESDPF2LACE_KEY = $000a1645;
  260.  
  261. def SPECIAL_FLAGS = (DIPF_IS_DUALPF|DIPF_IS_PF2PRI|DIPF_IS_HAM|DIPF_IS_EXTRAHALFBRITE);
  262.  
  263. def BIDTAG_DIPFMustHave = $80000001;
  264. def BIDTAG_DIPFMustNotHave = $80000002;
  265. def BIDTAG_ViewPort = $80000003;
  266. def BIDTAG_NominalWidth = $80000004;
  267. def BIDTAG_NominalHeight = $80000005;
  268. def BIDTAG_DesiredWidth = $80000006;
  269. def BIDTAG_DesiredHeight = $80000007;
  270. def BIDTAG_Depth = $80000008;
  271. def BIDTAG_MonitorID = $80000009;
  272. def BIDTAG_SourceID = $8000000a;
  273. def BIDTAG_RedBits = $8000000b;
  274. def BIDTAG_BlueBits = $8000000c;
  275. def BIDTAG_GreenBits = $8000000d;
  276. def BIDTAG_GfxPrivate = $8000000e;
  277.  
  278.